#!/bin/bash


echo "hello1"
echo "hello2"
echo "hello3"
echo "hello4"
echo "hello5"
echo "hello6"

read -p "di 1 ge shu zi" num1
read -p "di 2 ge shu zi" num2
read -p "di 3 ge shu zi" num3
result=$(($num1+$num2+$num3))
echo "和是$result"


if [ $num1 -gt $num2 ];then
	echo "shu zi 1 dadadadadada"
else
	echo "shu zi 2 dadadadadada"

fi

echo "--------------------"


read -p "输入的字符串是:" str
case $str in
	"hello")
	        echo "输入的是hello"
	        ;;
	"h")
	        echo " 输入的是h"
	        ;;
	"a")
	        echo "输入的是a"
	        ;;
	*)
	        echo ""
	        ;;	



esac



exit 0
